package com.eigaland.change_machine.util

import com.eigaland.change_machine.APP
import com.eigland.eigaland_lib.model.*
import movie6.posprintercept2.extensions.saveToken

object UserManager {
     var user:User? = null

     var cinema: Cinema? = null

     var shift: Shift? = null

     var device:Device? = null

     var houses:List<House>? = null

    var  token  = ""

    var cinemaId = ""

    fun setCurUser(loginResponse: LoginResponse){
        user = loginResponse.user
        cinema = loginResponse.cinema
        shift = loginResponse.shift
        device = loginResponse.device
        houses  = loginResponse.houses
        token = loginResponse.token

    }

    fun logout(){

    }
}